package com.lyn.testplugin

import android.os.Bundle
import android.util.Log
import com.lyn.nv21.Nv21
import com.lyn.plugin.Plugin
import com.lyn.pluginapi.annotation.PluginLauncher
import com.lyn.qrcode.ZbarManager
import com.lyn.qrcode.ZxingManager
import com.lyn.testplugin.databinding.PluginMainBinding
import java.time.temporal.IsoFields

/**
 *
 * @author longyn 2025/07/07
 * @version 1.0.0
 */
@PluginLauncher(id = "abc123", name = "测试插件", version = 1)
class MainPlugin : Plugin() {

    private lateinit var pluginMainBinding: PluginMainBinding
    private val nv21:Nv21 = Nv21()

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        pluginMainBinding = PluginMainBinding.inflate(getLayoutInflater())
        setContentView(pluginMainBinding.root)
    }
}